<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * AdminMenuUser
 *
 * @ORM\Table(name="admin_menu_user")
 * @ORM\Entity
 */
class AdminMenuUser
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="menu", type="integer", nullable=false)
     */
    private $menu;

    /**
     * @var int
     *
     * @ORM\Column(name="user", type="integer", nullable=false)
     */
    private $user;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getMenu()
    {
        return $this->menu;
    }

    public function setMenu($menu): self
    {
        $this->menu = $menu;

        return $this;
    }

    public function getUser(): ?int
    {
        return $this->user;
    }

    public function setUser(int $user): self
    {
        $this->user = $user;

        return $this;
    }


}
